package com.easy.frame.message.constance;

import lombok.Data;

/**
 * 消息中心的redis储存路径规范
 *
 * @author tp
 */
@Data
public class RedisCommon {

    /**
     * 消息模板redis存储key前缀
     */
    public static final String NEWS_TEMP_PRE = "newsTemp";
    /**
     * 消息模板内容redis存储key前缀
     */
    public static final String TEMP_PRE = "temp_";
    /**
     * 消息模板群组redis存储key前缀
     */
    public static final String GROUP_USER_PRE = "groupUser_";
    /**
     * 消息模板策略redis存储key前缀
     */
    public static final String STRATEGY_PRE = "strategy_";
    /**
     * 消息渠道数据存储Key前缀
     */
    public static final String CHANNEL_PRE = "channel_";
    /**
     * 消息供应商的数据存储key前缀
     */
    public static final String SUPPLIER_PRE = "supplier_";
    /**
     * 消息渠道类型存储key前缀
     */
    public static final String CHANNEL_CATEGORY_PRE = "channel_category_";
    /**
     * redis缓存到期时间15天（s）
     */
    public static final Integer EXPIRE_TIME = 24 * 60 * 60 * 15;

}
